﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

namespace GameJam
{
    public class GameOverUI : MonoBehaviour
    {
        public Text statisc; 
        // Use this for initialization
        void Start()
        {
            //string statics_str = "<color=#%</color>\n aa    ";
            //statics_str.Replace("\\n", "\n");

            //statisc.text = statics_str;
        }

        public void Show(string str)
        {
            statisc.text = str;
            transform.localPosition = Vector3.zero;
        }

        public void Hide()
        {
            transform.localPosition = new Vector3(-10000,-10000,0);

        }
    }
}